<%@ page language="java" import="java.util.*"  pageEncoding="utf-8"%>
<%@include file="common/indexhead.jsp" %>
<%@include file="common/tag.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!-- <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> -->
<style>
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
padding:0px;
}
</style>
<div class="panel panel-primary" >  
	<div class="panel-heading" style="padding:8px">  
		<div>
		<h3 class="panel-title">我的待办</h3> 
		</div>
		<div class="button" style="float: right;margin-top: -27px;margin-right: 5px;">
			<a class="btn btn-info" href="/personalwork/personalworkdaibanlist" target="_blank"><i class="fa fa-plus-square"></i>更多待办</a>
		</div>
	</div> 
	<%-- <jsp:include page="tree.jsp"></jsp:include> --%>
	<div class="panel-body"  style="height:50%">
		<div style="height:90%">
		<table class="table table-hover">
			<thead>
				<tr>
					<th></th>
					<th>标题</th>
					<th>当前处理人</th>
					<th>当前环节</th>
					<th>业务类型</th>
					<th>发送人</th>
					<th>到达时间</th>
					</tr>
			</thead>
			<tbody>
				<c:forEach var="personalwork" items="${personalworklist}">
					<tr style="cursor:pointer" onclick="window.open('/${personalwork.personalWorkDbUrl}/${personalwork.personalWorkDocId}/detail');">
						<td><i class="fa fa-exchange"></i></td>
						<td>${personalwork.personalWorkTitle}</td>
						<td>${personalwork.personalWorkUser}</td>
						<td>${personalwork.personalWorkFlowName}</td>
						<td>${personalwork.personalWorkDb}</td>
						<td>${personalwork.personalWorkUpUser}</td>
						<td><fmt:formatDate value="${personalwork.updateTime}" pattern="yyyy-MM-dd hh:mm:ss"/></td>
					</tr>
				</c:forEach> 
			</tbody>
		</table>
		</div>
		<hr></hr>
		
	</div>
	<div class="panel-heading" style="padding:8px">  
		<div>
		<h3 class="panel-title">我的已办</h3> 
		</div>
		<div class="button" style="float: right;margin-top: -27px;margin-right: 5px;">
			<a class="btn btn-info" href="/personalwork/personalworkyibanlist" target="_blank"><i class="fa fa-plus-square"></i>更多已办</a>
		</div>
	</div> 
	<%-- <jsp:include page="tree.jsp"></jsp:include> --%>
	<div class="panel-body"  style="height:35%">
		<div style="height:90%">
		<table class="table table-hover">
			<thead>
				<tr>
					<th></th>
					<th>标题</th>
					<th>当前处理人</th>
					<th>当前环节</th>
					<th>业务类型</th>
					<th>发送人</th>
					<th>到达时间</th>
					</tr>
			</thead>
			<tbody>
				<c:forEach var="personalwork" items="${personalworklistup}">
					<tr style="cursor:pointer" onclick="window.open('/${personalwork.personalWorkDbUrl}/${personalwork.personalWorkDocId}/detail');">
						<td><i class="fa fa-exchange"></i></td>
						<td>${personalwork.personalWorkTitle}</td>
						<td>${personalwork.personalWorkUser}</td>
						<td>${personalwork.personalWorkFlowName}</td>
						<td>${personalwork.personalWorkDb}</td>
						<td>${personalwork.personalWorkUpUser}</td>
						<td><fmt:formatDate value="${personalwork.updateTime}" pattern="yyyy-MM-dd hh:mm:ss"/></td>
					</tr>
				</c:forEach> 
			</tbody>
		</table>
		</div>
		<hr></hr>
</div>


<%@include file="common/indexbottom.jsp" %>
<script type="text/javascript">

</script>